package com.hongxun.modules.csg.service;

import com.hongxun.modules.csg.entity.CArrivalRecordEntity;

import java.util.List;
import java.util.Map;

/**
 * 到货记录
 * 
 * @author zkcn
 * @email youeremail@163.com
 * @date 2018-09-11 09:30:52
 */
public interface CArrivalRecordService {
	
	CArrivalRecordEntity queryObject(String guid);
	
	List<CArrivalRecordEntity> queryList(Map<String, Object> map);

	List<CArrivalRecordEntity> queryListToSPName(Map<String, Object> map);
	
	int queryTotal(Map<String, Object> map);
	
	void save(CArrivalRecordEntity cArrivalRecord);
	
	void update(CArrivalRecordEntity cArrivalRecord);
	
	void delete(String guid);
	
	void deleteBatch(String[] guids);

	void insertOrReplaceOrDelete(List<CArrivalRecordEntity> entities);
}
